package com.seanLab.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * 仅做测试使用
 * Created by ailly on 18-1-3.
 */
@Document(collection = "#{getUserDocs}")
public class UserDocs implements Serializable{
    @Id
    private String articleID;

    private String types;
    private String source;
    private String channel;

    private int docCategory;

    private List<String> tags;
    private String url;
    private String title;
    private String content;

    private String testLabel;
    private String testID;
    private int testFlag = 0;


    public String getArticleID() {
        return articleID;
    }

    public void setArticleID(String articleID) {
        this.articleID = articleID;
    }

    public String getTypes() {
        return types;
    }

    public void setTypes(String types) {
        this.types = types;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public int getDocCategory() {
        return docCategory;
    }

    public void setDocCategory(int docCategory) {
        this.docCategory = docCategory;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTestLabel() {
        return testLabel;
    }

    public void setTestLabel(String testLabel) {
        this.testLabel = testLabel;
    }

    public String getTestID() {
        return testID;
    }

    public void setTestID(String testID) {
        this.testID = testID;
    }

    public int getTestFlag() {
        return testFlag;
    }

    public void setTestFlag(int testFlag) {
        this.testFlag = testFlag;
    }
}
